package com.cskaoyan.market.service.admin;

import com.cskaoyan.market.db.domain.MarketAdmin;
import com.cskaoyan.market.db.domain.MarketUser;

import java.util.List;
import java.util.Map;

/**
 * @ClassName MarketAdminService
 * @Description: TODO
 * @Author 远志 zhangsong@cskaoyan.onaliyun.com
 * @Date 2023/5/5 11:08
 * @Version V1.0
 **/
public interface MarketAuthService {
    List<MarketAdmin> login(String username, String password);

    Map<String, Object> info(MarketAdmin admin, Integer[] roleIds);

    String checkPasswordByUsername(String username);

    MarketAdmin getAdminByUsername(String username, String password);
}
